﻿@model LetLord.Models.Tenant
<div class="row-fluid">
    <div class="span6">
        <p>
            @if (string.IsNullOrEmpty(Model.DesiredPropertyLocation))
            {
                
                    @Html.LabelFor(x => x.DesiredPropertyLocation, new { @class = "profile-info-heading" })
                    <text>: No location chosen!</text>
                
            }
            else
            {
                @Html.LabelFor(x => x.DesiredPropertyLocation, new { @class = "profile-info-heading" })<text>:&nbsp</text>
                @Html.DisplayFor(x => x.DesiredPropertyLocation)
            }
        </p>
        <p>
            @Html.LabelFor(x => x.DesiredPropertyTypeString, new { @class = "profile-info-heading" })&nbsp
            @Html.DisplayFor(x => x.DesiredPropertyTypeString)
        </p>
        <p>
            @Html.LabelFor(x => x.MinBudget, new { @class = "profile-info-heading" })&nbsp
            @Html.DisplayFor(x => x.MinBudget)
        </p>
        <p>
            @Html.LabelFor(x => x.MaxBudget, new { @class = "profile-info-heading" })&nbsp
            @Html.DisplayFor(x => x.MaxBudget)
        </p>
        <p>
            @Html.LabelFor(x => x.DesiredNumberOfBedrooms, new { @class = "profile-info-heading" })&nbsp
            @Html.DisplayFor(x => x.DesiredNumberOfBedrooms)
        </p>
    </div>
    <div class="span6">
        <p>
            @Html.LabelFor(x => x.IsProfessional, new { @class = "profile-info-heading" })&nbsp
            @if (Model.IsProfessional == true)
            {
                <text> Yes</text>
            }
            else
            {
                <text> No</text>
            }
        </p>
        <p>
            @Html.LabelFor(x => x.IsStudent, new { @class = "profile-info-heading" })&nbsp
            @if (Model.IsStudent == true)
            {
                <text> Yes</text>
            }
            else
            {
                <text> No</text>
            }
        </p>
        <p>
            @Html.LabelFor(x => x.HasChildren, new { @class = "profile-info-heading" })&nbsp
            @if (Model.HasChildren == true)
            {
                <text> Yes</text>
            }
            else
            {
                <text> No</text>
            }
        </p>
        <p>
            @Html.LabelFor(x => x.HasRentAllowance, new { @class = "profile-info-heading" })&nbsp
            @if (Model.HasRentAllowance == true)
            {
                <text> Yes</text>
            }
            else
            {
                <text> No</text>
            }
        </p>
        <p>
            @Html.LabelFor(x => x.IsInGroup, new { @class = "profile-info-heading" })&nbsp
            @if (Model.IsInGroup == true)
            {
                <text> Yes</text>
            }
            else
            {
                <text> No</text>
            }
        </p>
    </div>
    <div class="modal hide fade in" id="edit-tenant-property-attributes" data-url="@Url.Action("EditTenantPropertyAttributes", "Tenants")">
        <div id="container_2"></div>
    </div>
</div>
<div class="row-fluid" style="padding-top: 10px;">
    <a href="#" class="btn btn-primary" id="show-edit-tenant-property-attributes-modal" role="button" data-toggle="modal">Edit property attributes</a>
</div>
